package com.example.g32.park

import com.example.base.entity.ParkEntityItem
import com.example.base.mvi.IUiIntent
import retrofit2.http.Path

sealed class ParkIntent:IUiIntent {
    data class getParkByType(val type:String):ParkIntent()

    data class getParkByArea(val area:String):ParkIntent()

    data class getParkByStatus(val status:String):ParkIntent()
    data class getParkByCarNo(val carNo:String):ParkIntent()

    data class deletePark(val id:Int):ParkIntent()
    data class queryById(val userId:Int):ParkIntent()
    data class addPark(val bean:ParkEntityItem):ParkIntent()
    data class getParkById(val id:Int):ParkIntent()

    data class updatePark(val id:Int,val bean:ParkEntityItem):ParkIntent()
}